package com.jia.train.seat.request;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.sql.Time;

@Data
public class TripsSaveRequest {

    private Long id;

    private String code;

    private String type;

    private String start;

    @JsonSerialize(using = ToStringSerializer.class)
    private Time startTime;

    private String end;

    @JsonSerialize(using = ToStringSerializer.class)
    private Time endTime;
}
